package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存对象 mes_stock
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class MesStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 物品id */
    @Excel(name = "物品id")
    private String itemId;

    /** 物品名 */
    @Excel(name = "物品名")
    private String itemName;

    /** 物品类型(0原料/1OK产品/2NG产品) */
    @Excel(name = "物品类型(0原料/1OK产品/2NG产品)")
    private Long itemType;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stockNum;

    /** 库位编码 */
    @Excel(name = "库位编码")
    private String locaId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setItemId(String itemId) 
    {
        this.itemId = itemId;
    }

    public String getItemId() 
    {
        return itemId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemType(Long itemType) 
    {
        this.itemType = itemType;
    }

    public Long getItemType() 
    {
        return itemType;
    }
    public void setStockNum(Long stockNum) 
    {
        this.stockNum = stockNum;
    }

    public Long getStockNum() 
    {
        return stockNum;
    }
    public void setLocaId(String locaId) 
    {
        this.locaId = locaId;
    }

    public String getLocaId() 
    {
        return locaId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("itemType", getItemType())
            .append("stockNum", getStockNum())
            .append("locaId", getLocaId())
            .toString();
    }
}
